package com.hangzhou.xyj.ui.fragment;

import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.View.OnClickListener;

import com.hangzhou.xyj.R;
import com.hangzhou.xyj.ui.adapter.FamousExpertAdapter;
import com.hangzhou.xyj.ui.fragment.base.BaseFragment;

/**
 * 首页唱戏 我点播的戏曲
 * @author neo.duan
 *
 */
public class MyDianDramaFragment extends BaseFragment implements OnClickListener{

	private RecyclerView mRecyclerView;

	@Override
	public void initTop() {
		enableTop(false);
	}

	@Override
	public void initLayouts() {
		setContentView(R.layout.fragment_dian_drama_stage);
	}

	@Override
	public void initViews() {
		mRecyclerView = findView(R.id.rv_dian_drama);
		//设置水平布局
		mRecyclerView.setLayoutManager(new LinearLayoutManager(mContext,LinearLayoutManager.VERTICAL,false));
		// 设置item动画
		mRecyclerView.setItemAnimator(new DefaultItemAnimator());
		mRecyclerView.setAdapter(new FamousExpertAdapter(mContext));
	}

	@Override
	public void initDatas() {

	}

	@Override
	public void initListeners() {
		
	}

	@Override
	public void onClick(View v) {
		
	}
}
